﻿@model LeadMaster.ViewModels.ViewModelOutsourcer

@using (Html.BeginForm()) 
{


<input type="hidden" name="CallCentreID" value="@(Model.CallCentreID)" />
<fieldset style="width: 400px">
<legend>Client Selection</legend>
<table style="width: 400px">
<tr>
<th style="text-align: left">@Html.Label("Select Client")</th>
<td>
    @Html.DropDownList("LeadClient", null, new { style = "width:300px;" })
</td>
</tr>
<tr>
<th style="text-align: left"><label>Show All Returns</label></th>
<td>
    @Html.CheckBoxFor(m => m.ReturnsOnly)
</td>
</tr>
</table>
<div style="margin-top: 10px; float: right; clear:both;">
    <input type="submit" value="Show Leads" class="bigsubmit"/>
</div>

</fieldset>
}

<script type="text/javascript">
    $(document).ready(function () {

        $('#leadslist').hide();
        $('#orderslist').hide();
        $('#diarylist').hide();
        $('#notice').hide();

        $(function () {
            $(".datepicker").datepicker({
                changeMonth: true,
                changeYear: true,
                dateFormat: 'dd/mm/yy'
            });
        });

        $('#LeadDate').val($('#LeadDate').val().substring(0, 10));
    });
</script>